package com.lottery.material.entity.conf;

import com.lottery.material.entity.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Description：银行字典表
 * Created by 朱正磊 on 2019-04-09 10:22
 */
@Entity
@Data
@EqualsAndHashCode(callSuper = false)
@Table(name = "material_bank_dict")
public class BankDict extends BaseEntity {

    private static final long serialVersionUID = 3227559683703008111L;

    @Column(columnDefinition = "varchar(20) not null comment '银行编号'")
    private String bankCode;

    @Column(columnDefinition = "varchar(100) not null comment '银行名称'")
    private String bankName;

}
